Skip to main content

pushNotificationRegistered

Type

message

Summary

Sent when the application registers to receive Push Notifications form a Push Notification Server.

Syntax

pushNotificationRegistered <pSignature>

Description

Handle the pushNotificationRegistered message to inform the application that registration with the Push Notification Server was successful.

The pushNotificationRegistered message is handled once the application starts up and registers with the Push Notification Server.

The application only tries to register with the Push Notification Server if the application was configured to handle Push Notifications in the pList (iOS) or manifest (Android).

Parameters

NameTypeDescription

pSignature

The Signature of the Device. This is the unique devices signature that the Push Notification Server uses in order to send a notification to the device.

Examples

on pushNotificationRegistered tSignature
answer "Registered for Push Notification:" && quote \
& tSignature & quote with "Okay"
end pushNotificationRegistered

function: mobileGetDeviceToken

message: pushNotificationReceived, pushNotificationRegistrationError

Compatibility and Support

Introduced

LiveCode 5.5

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?